<table  style="margin: 0 auto" width="970" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  <tr>
    <td width="10" valign="top"  background="<?=base_url()?>res/images/img/lf.png" >&nbsp;</td>
    <td valign="top" width="210"><img src="<?=base_url()?>res/images/img/Untitled.png" style="margin-left:20px"></td>
    <td valign="top" width="">
        <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td align="center">&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>
            <table width="100%" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td height="31">&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>&nbsp;</td>
          </tr>
          <tr>
            <td>
              <table width="100%" border="0" align="center">
                <tr bgcolor="#CCCCCC">
                  <td align="center">ลำดับ</td>
                  <td>หัวข้อ</td>
                  <td>วันที่</td>
                  <td align="center">รายละเอียด</td>
                </tr>
                <?php $no = 1; ?>
                <?php foreach($data->result_array() as $row){ ?>
                <tr>
                  <td align="center" valign="top"><?=$no?></td>
                  <td valign="top"><?=$row["act_title"]?></td>
                  <td><?=  setDate($row["act_start_date"])?></td>
                  <td align="center" valign="top">
                      <a  target="_bank" href="<?=base_url()?>home/viewactivity/ID/<?=$row[act_id]?>/_file/<?=$row["act_title"]?>.html">รายละเอียด</a>
                  </td>
                </tr>
                <?php $no++;} ?>
                <tr>
                  <td colspan="4" align="center">
                  </td>
                </tr>
              </table>
             </td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
      <tr bgcolor="#FFFFFF">
        <td>&nbsp;</td>
      </tr>
      <tr>
        <td>&nbsp;</td>
      </tr>
    </table></td>
    <td  width="10" valign="top"  background="<?=base_url()?>res/images/img/lf.png" >&nbsp;</td>
  </tr>
</table>


